home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / games / 2a / applicat.ion / sg10.hex < prev    next >
Text File  |  1985-05-29  |  6KB  |  180 lines

  1. ****************************************************************
  2. *    Star SG-10  Matrix Printer Driver Configuration Table
  3. *
  4. *    This  file contains tables defining the code sequences
  5. *    to be sent to the printer to perform various functions
  6. *    and to access the characters from codes in the Atari
  7. *    character set.
  8. *    Modified by Mike Atkinson from the Gemini 10X driver by
  9. *    Dave Witzke.
  10. ****************************************************************
  11.  
  12. *
  13. * Name of printer
  14. * ===============
  15. *
  16. Star SG-10
  17.  
  18. *
  19. * Miscellaneous configurable variables
  20. * ====================================
  21. *
  22. * 1: printer type, 0=dot matrix, 1=daisy wheel
  23. *    Note if printer type is 0 the following 4 variables are never used.
  24. * 2: unit width of one character
  25. * 3: unit height of one line
  26. * 4: Approximate middle of carriage after formfeed
  27. * 5: Carriage shift for bold overstrike
  28. *
  29. 0, 0, 0, 0, 0
  30.  
  31. *
  32. * Printer characteristics
  33. * =======================
  34. *
  35. * This table specifies the printer command sequences.
  36. * If the top bit of a code is set, then this indicates the position
  37. * of a parameter passed to the printer. The code whose top bit is set
  38. * in this table is added to the parameter passed before being sent to the
  39. * printer. It is not used in all command sequences, only in those where 
  40. * the printer requires  a variable value such as the length of a vertical 
  41. * tab.
  42. *
  43. * 0            * Character width
  44. 1, D, A        * Linefeed WITH return
  45. * 2            * Forward print
  46. * 3            * Reverse print
  47. * 4, 1B, 42, 80, 0, B                * Vertical tab to line (FX or LX)
  48. * 5            * Absolute horizontal tab 
  49. 6, 1B, 45      * Draft bold on
  50. 7, 1B, 46      * Draft bold off
  51. 8, 1B, 35, 1B, 45, 1B, 47   * Near Letter Quality (NLQ) bold on 
  52. 9, 1B, 46, 1B, 48, 1B, 34   * NLQ bold off
  53. A, 1B, 49, 01      * Draft italic on
  54. B, 1B, 49, 00      * Draft italic off
  55. C, 1B, 35, 1B, 49, 01, 1B, 47       * NLQ italic on
  56. D, 1B, 48, 1B, 49, 00, 1B, 34       * NLQ italic off
  57. * E            * Draft light on
  58. * F            * Draft light off
  59. *10, 1B, 46     * NLQ light on
  60. *11, 1B, 45     * NLQ light off
  61. 12, 1B, 53, 00  * Draft superscript on
  62. 13, 1B, 54     * Draft superscript off
  63. 14, 1B, 35, 1B, 53, 00          * NLQ superscript on
  64. 15, 1B, 54, 1B, 34              * NLQ superscript off
  65. 16, 1B, 53, 01  * Draft subscript on
  66. 17, 1B, 54     * Draft subscript off
  67. 18, 1B, 35, 1B, 53, 01          * NLQ subscript on
  68. 19, 1B, 54, 1B, 34                 * NLQ subscript off
  69. 1A, 1B, 2D, 01  * Draft underline on
  70. 1B, 1B, 2D, 00  * Draft underline off
  71. 1C, 1B, 2D, 01  * NLQ underline on  - !  Don't change font in middle !
  72. 1D, 1B, 2D, 00  * NLQ underline off - !  of passage                  !
  73. 1E, C          * Formfeed
  74. 1F, 12         * Horizontal initialisation
  75. * 20           * Vertical initialisation
  76. 21, 1B, 40     * Termination: printer reset
  77. 0              * NULL termination byte
  78.  
  79. *
  80. * Translation Table
  81. * =================
  82. *
  83. * This table provides translation from single Atari input bytes into
  84. * multiple Star printer codes, and is useful for printing extraneous
  85. * characters such as accented characters etc. All characters are 
  86. * subjected to translation, but if there is no entry in the table for
  87. * a particular code, then the original code is sent to the printer.
  88. *
  89. * The entries must be arranged in ascending order of Atari input
  90. * code. The table is NULL terminated.
  91.                                    * No arrows with NLQ in IBM mode
  92. 0                                  * NULL: print a space 
  93. 1, 1B, 52, 0, 7C, 8, 5E            * Up arrow: USA | backspace USA ^
  94. 2, 1B, 52, 0, 7C, 8, 76            * Down arrow: USA | backspace USA v
  95. 3, 2D, 8, 3E  * Right arrow: - backspace >
  96. 4, 3C, 8, 2D  * Left arrow: - backspace <
  97. 5             * No close box
  98. 6             * No size box
  99. 7             * No full box
  100. 8             * No tick
  101. 9             * No clock
  102. A             * No bell
  103. B             * No musical note
  104. E             * No LH Atari symbol     
  105. F             * No RH Atari symbol
  106. 10, 30        * LCD 0
  107. 11, 31        * LCD 1
  108. 12, 32        * LCD 2    
  109. 13, 33        * LCD 3
  110. 14, 34        * LCD 4
  111. 15, 35        * LCD 5
  112. 16, 36        * LCD 6
  113. 17, 37        * LCD 7     
  114. 18, 38        * LCD 8
  115. 19, 39        * LCD 9     
  116. 23, 1B, 52, 0, 23        * # from USA fount
  117. 24, 1B, 52, 0, 24        * $ from USA fount
  118. 40, 1B, 52, 0, 40        * @ from USA fount
  119. 5B, 1B, 52, 0, 5B        * [ from USA fount
  120. 5C, 1B, 52, 0, 5C        * \ from USA fount
  121. 5D, 1B, 52, 0, 5D        * ] from USA fount
  122. 5E, 1B, 52, 0, 5E        * ^ from USA fount
  123. 5F, C4
  124. 9E, E1                   * Esszet from German fount
  125. B0, 61, 8, 1B, 52, 0, 7E * Lower case a tilde: a backspace USA ~
  126. B1, 6F, 8, 1B, 52, 0, 7E * Lower case o tilde: o backspace USA ~
  127. B2, ED                   * Capital crossed O from Danish 1 fount
  128. B3, 1B, 52, 4, 7C        * Lower case crossed o from Danish 1 fount
  129. B4                       * No lower case oe dipthong
  130. B5                       * No capital OE dipthong
  131. B6, 41                   * No capital A grave: print A
  132. B7, 41                   * No capital A tilde: print A
  133. B8, 4F                   * No capital O tilde: print O
  134. B9, 1B, 52, 1, 7E        * Umlaut from French fount
  135. BA, 27                   * Acute: print '
  136. BB                       * No dagger in IBM mode
  137. BC                       * No paragraph symbol
  138. BD                       * No copyright symbol in IBM mode
  139. BE                       * No Registered symbol
  140. BF                       * No Trademark symbol
  141. C0, 79, 8, 1B, 52, 1, 7E * ij ligature: y backspace French umlaut
  142. C1, 59                   * Capital IJ ligature: print Y
  143. C2        * No Hebrew...
  144. C3
  145. C4
  146. C5
  147. C6
  148. C7
  149. C8
  150. C9
  151. CA
  152. CB
  153. CC
  154. CD
  155. CE
  156. CF
  157. D0
  158. D1
  159. D2
  160. D3
  161. D4
  162. D5
  163. D6
  164. D7
  165. D8
  166. D9
  167. DA
  168. DB
  169. DC
  170. DD, 15                   * Section mark from German fount
  171. DE, 1B, 52, 0, 5E        * No dropped circumflex
  172. DF, EC                   * Infinity
  173. EC
  174. ED
  175. FE        * No superior 3
  176. FF        * No macron     
  177. 0
  178.  
  179. 4444444444444444444444444444444444444444444444444444444444444444444444444444